package com.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pojo.entity.OrderGoods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author : 杨世博
 * @date: Created in 15:32 2023/6/4
 */
@Mapper
public interface OrderGoodsMapper extends BaseMapper<OrderGoods> {

    void insertOrderGoods(OrderGoods orderGoods);

    void refund(@Param("order_id") Integer orderId);

    void dealWithRefund(Integer orderId);

}
